﻿using Inovout.Gis.Geometry;

namespace Inovout.Gis
{
    public abstract class LineObject :GeometryObject, ILineObject,ILineInfo
    {
        #region Constructor

        protected LineObject(ILineInfo lineInfo)
            : base(lineInfo)
        {
        }

        #endregion

        public double Length
        {
            get { return ((ILineInfo)geometryInfo).Length; }
        }
        public double Width
        {
            get { return ((ILineInfo)geometryInfo).Width; }
        }
    }
}
